<?php

	require_once $_site->get_viewpath("wap/commom/header");

	$vip_config=user_fun_get_vip_config($user_data['total_point']);
?>
<body style=" padding-bottom:50px;">
	<div class="top_one"><a href="javascript:window.history.go(-1);" class="arrow_carrot-left return"></a>个人中心</div>
	<div class="info">
		<span class="tel"><?php echo $user_data['phone']?$user_data['phone']:'--';?></span>
		<span class="tx"><img src="/static/wap/img/tx.png" /></span>
		<span class="style"><?php echo $vip_config['vip_type'];?></span>
		<span class="xs">享受的店面折扣:<?php echo (float)$vip_config['discount']==10?'无折扣':$vip_config['discount']."折";?></span>
		<div style=" padding:10px 0;">
		<p>剩余积分：<?php echo $user_data['point']?$user_data['point']:'0';;?></p>
		<p>用户名称：<?php echo $user_data['name']?$user_data['name']:'--';?> </p>
		<p>用户性别：<?php
					$sex_array=array(0=>'女',1=>'男',2=>'--');
						echo $sex_array[$user_data['sex']];
				?></p>
		<p style="display:none;">用户年龄：<?php
					echo $user_data['age']?(date('Y')-date('Y',$user_data['age'])):'--' ;
				?></p>
		</div>
	</div>
	<div class="no_login"><input type="button" onClick="exit_login();return false;" value="用户注销"/></div>

	<?php require_once $_site->get_viewpath("wap/commom/bottom");?>
</body>
</html>
